﻿namespace Rocuna.Log
{
    /// <summary>
    /// Interface to hold log listeners.
    /// </summary>
    public interface ILogListener
    {
        /// <summary>
        /// occurred when message logged.
        /// </summary>
        /// <param name="msg">The MSG.</param>
        /// <param name="level">The level.</param>
        /// <param name="maskDebug">if set to <c>true</c> [mask debug].</param>
        /// <param name="loggerName">Name of the logger.</param>
        void Write(string msg, LogLevel level, bool maskDebug, string loggerName);
    }
}